﻿

using System;
using System.Threading.Tasks;
using System.Linq.Expressions;

using Oliving.Edge.IServices.BASE;
using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto.School;
using Oliving.Edge.Model.School;




namespace Oliving.Edge.IServices.School
{
    /// <summary>
    /// ISchool_AchievementServices , 
    /// </summary>	
    public interface ISchool_AchievementServices : IBaseServices<School_Achievement>
    {


        /// <summary>
        /// 自定义分页查询
        /// </summary>
        /// <param name="whereExpression" > 查询条件</param>
        /// <param name="pageIndex" > 页码</param>
        /// <param name="pageSize" > 页大小</param>
        /// <param name="sortField" > 排序字段</param>
        /// <param name="sortOrder" > 排序 （asc/desc）</param>
        /// <returns></returns>
        Task<PageModel<School_AchievementPageDto>> QueryPageList(
        Expression<Func<School_Achievement, bool>> whereExpression,
        int PageIndex = 1,
        int PageSize = 20,
        string sortField = null,
        string sortOrder = null);



    }
}

